[INFO] cloning repository https://github.com/RudhyDev/api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RudhyDev/api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRudhyDev%2Fapi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRudhyDev%2Fapi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6196b4b23ceec31a6399b0db27ed66603461f33e
[INFO] checking RudhyDev/api against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRudhyDev%2Fapi" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/RudhyDev/api on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/RudhyDev/api
[INFO] finished tweaking git repo https://github.com/RudhyDev/api
[INFO] tweaked toml for git repo https://github.com/RudhyDev/api written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/RudhyDev/api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 022082f8be48a8d11c3236cc2e41649708e8948e1bc1650d350e79d4c940d3e7
[INFO] running `Command { std: "docker" "start" "-a" "022082f8be48a8d11c3236cc2e41649708e8948e1bc1650d350e79d4c940d3e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "022082f8be48a8d11c3236cc2e41649708e8948e1bc1650d350e79d4c940d3e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "022082f8be48a8d11c3236cc2e41649708e8948e1bc1650d350e79d4c940d3e7", kill_on_drop: false }`
[INFO] [stdout] 022082f8be48a8d11c3236cc2e41649708e8948e1bc1650d350e79d4c940d3e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff1a92b5a0351959d7136f09bcc7361caa62f0e414df6eee2dc38181f923dbff
[INFO] running `Command { std: "docker" "start" "-a" "ff1a92b5a0351959d7136f09bcc7361caa62f0e414df6eee2dc38181f923dbff", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling ucd-util v0.1.8
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]     Checking gimli v0.26.1
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling utf8-ranges v1.0.4
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling syntex_fmt_macros v0.5.0
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling diesel v0.16.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling error-chain v0.10.0
[INFO] [stderr]     Checking object v0.27.1
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.16
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling backtrace v0.3.64
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]    Compiling derive-error-chain v0.10.1
[INFO] [stderr]    Compiling dotenv v0.10.1
[INFO] [stderr]    Compiling diesel_infer_schema v0.16.0
[INFO] [stderr]    Compiling derive-error-chain v0.11.2
[INFO] [stderr]     Checking error-chain v0.11.0
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking dotenv v0.12.0
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]    Compiling diesel_codegen v0.16.1
[INFO] [stderr]     Checking api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: missing `fn` for function definition
[INFO] [stdout]   --> src/models.rs:70:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Book {
[INFO] [stdout]    |           - while parsing this item list starting here
[INFO] [stdout] ...
[INFO] [stdout] 70 |   pub all_by_author(author: String, conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |      ^
[INFO] [stdout] ...
[INFO] [stdout] 78 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout]    |
[INFO] [stdout] help: add `fn` here to parse `all_by_author` as a public function
[INFO] [stdout]    |
[INFO] [stdout] 70 |   pub fn all_by_author(author: String, conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |       ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: missing `fn` for function definition
[INFO] [stdout]   --> src/models.rs:70:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Book {
[INFO] [stdout]    |           - while parsing this item list starting here
[INFO] [stdout] ...
[INFO] [stdout] 70 |   pub all_by_author(author: String, conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |      ^
[INFO] [stdout] ...
[INFO] [stdout] 78 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout]    |
[INFO] [stdout] help: add `fn` here to parse `all_by_author` as a public function
[INFO] [stdout]    |
[INFO] [stdout] 70 |   pub fn all_by_author(author: String, conn: &PgConnection) -> Vec<Book> {
[INFO] [stdout]    |       ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schema`
[INFO] [stdout]  --> src/models.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use schema::books::dsl::books as all_books;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `schema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schema`
[INFO] [stdout]   --> src/models.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use schema::books::dsl::{author as a, published as p, title as t};
[INFO] [stdout]    |         ^^^^^^ use of undeclared crate or module `schema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `schema`
[INFO] [stdout]  --> src/models.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use schema::books;
[INFO] [stdout]   |     ^^^^^^ help: a similar path exists: `crate::schema`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schema`
[INFO] [stdout]  --> src/models.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use schema::books::dsl::books as all_books;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `schema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schema`
[INFO] [stdout]   --> src/models.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use schema::books::dsl::{author as a, published as p, title as t};
[INFO] [stdout]    |         ^^^^^^ use of undeclared crate or module `schema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `schema`
[INFO] [stdout]  --> src/models.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use schema::books;
[INFO] [stdout]   |     ^^^^^^ help: a similar path exists: `crate::schema`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout]  --> src/models.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout]  --> src/models.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `api` (bin "api" test) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `api` (bin "api") due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "ff1a92b5a0351959d7136f09bcc7361caa62f0e414df6eee2dc38181f923dbff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff1a92b5a0351959d7136f09bcc7361caa62f0e414df6eee2dc38181f923dbff", kill_on_drop: false }`
[INFO] [stdout] ff1a92b5a0351959d7136f09bcc7361caa62f0e414df6eee2dc38181f923dbff
